package com.marvels.loanapply.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import com.marvels.loanapply.api.MclaUserBankApi;
import com.marvels.loanapply.dto.MclaUserBankDTO;

@RequestMapping("/loanApply/userBank/api")
@RestController
public class UserBankController {
	
	@Autowired
	private MclaUserBankApi bankApi;
	
	@RequestMapping("selectCardType")
	@ResponseBody
	public MclaUserBankDTO selectCardType(@RequestBody MclaUserBankDTO dto){
		return bankApi.selectCardType(dto);
	}
}
